﻿using System;

namespace Greycastle.RUBuildin
{
    public delegate void ForegroundWindowChangedEventHandler(object sender, ForegroundWindowChangedEventArgs args);

    public class ForegroundWindowChangedEventArgs : EventArgs
    {
        public IntPtr PreviousForegroundWindow { get; private set; }
        public IntPtr NewForegroundWindow { get; private set; }

        public ForegroundWindowChangedEventArgs(IntPtr previousForegroundWindow, IntPtr newForegroundWindow)
        {
            PreviousForegroundWindow = previousForegroundWindow;
            NewForegroundWindow = newForegroundWindow;
        }
    }
}